package com.kexun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName play_info
 */
@TableName(value ="play_info")
@Data
public class PlayInfo implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 歌曲id
     */
    @TableField(value = "song_id")
    private String songId;

    /**
     * 音质类型
     */
    @TableField(value = "play_type")
    private Integer playType;

    /**
     * 外部播放地址
     */
    @TableField(value = "out_url")
    private String outUrl;

    /**
     * 本地播放地址
     */
    @TableField(value = "local_url")
    private String localUrl;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}